﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Hotel_Project.HotelForm
{
    public partial class updateRoomMaintenanceFrom : Form
    {
        public updateRoomMaintenanceFrom()
        {
            InitializeComponent();

        }
        
        private void updateRoomMaintenanceFrom_Load(object sender, EventArgs e)
        {
            //MessageBox.Show("请选择你要修改数据的那一行");
        }
        public void SetDataGridViewDataSource(DataTable data,string name)
        {
            dataGridView1.DataSource = data;
            // 可以在这里设置DataGridView的其他属性  
            
        }
    }
}
